from django.conf.urls.defaults import patterns
from django.views.generic.base import TemplateView
from django.contrib.auth.decorators import login_required

urlpatterns = patterns(
    "maintain.views"
    , (r"^$", login_required( TemplateView.as_view(template_name = "maintain/index.html") ))
    , (r"^keyintegrity/([a-z_]+)/", "check_key_integrity")

    , (r"^getcount/([a-z_]+)", "get_record_count")
    , (r"^getmissedkeys/([a-z_]+)/(\d+)", "get_missed_keys")

    , (r"^cc/$", "clear_cache")
)
